package com.onec.service.route.dao;

import com.onec.service.api.dao.BaseRepository;
import com.onec.service.route.entity.BusinessInfo;
import org.springframework.data.repository.RepositoryDefinition;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = BusinessInfo.class, idClass = Long.class)
public interface BusinessInfoRepository extends BaseRepository<BusinessInfo, Long> {

    /**
     * @param code 业务编号：
     * @return 返回编号指定的业务信息：
     */
    BusinessInfo findByCode(String code);
}
